/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jule.clases.editor;

import javax.swing.text.StyledEditorKit;
import javax.swing.text.ViewFactory;

/**
 *
 * @author Administrador
 */
public class ftlEditorKit   extends StyledEditorKit {

    private static final long serialVersionUID = 2969169649596107757L;
    private ViewFactory xmlViewFactory;

    public ftlEditorKit() {
        xmlViewFactory = new ftlViewFactory();
    }
    
    @Override
    public ViewFactory getViewFactory() {
        return xmlViewFactory;
    }

    @Override
    public String getContentType() {
        return "text/xml";
    }
}
 
